package com.example.evanproject.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName chatlist
 */
@TableName(value ="chatlist")
@Data
public class Chatlist implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 发送者id
     */
    private Integer sendId;

    /**
     * 接收者id
     */
    private Integer toId;

    /**
     * 消息内容
     */
    private String message;

    /**
     * 发送消息
     */
    private Date createtime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;




}